import Interface404 from "../../components/404";
import Login from "../../apps/app1/Login";
import {Navigate} from "react-router-dom";

const CommonRouter = [
    {
        path: '/',
        element: <Navigate to="/login" replace />,
    },
    {
        path: '/login',
        element: <Login />,
    },
    {
        path: '*',
        element: <Interface404 />
    }
]

export default CommonRouter